TYPES OF INHERITANCE

Types of Inheritance:

 

There are various types of inheritance, depending on paradigm and specific language.

  • Single Inheritance : In the single inheritance, subclasses inherits the features of a single super class. A class
  • acquire the property of another class.
  • Single

  • Multiple Inheritance : Multiple Inheritance allows a class to have more than one super class and to inherit features from all parent class.
  • multiple

  • Multilevel Inheritance : In multilevel inheritance a subclass is inherited from another subclass.

 

.

 

 

 

 

 

 

 

 

Inheritance and its types - by Mrs.M.Sharmila and Mrs.R.Jaya Bharathi